home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / ColorSync 2.5.1 SDK / Sample Code / CSDemo 2.5 / ShellSources / appAEvts.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-09  |  938 b   |  34 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef _APPAEHANDLERS_
  3. #define _APPAEHANDLERS_
  4.  
  5. #ifndef __FILES__
  6. #include <Files.h>
  7. #endif
  8.  
  9. #ifndef __APPLEEVENTS__
  10. #include <AppleEvents.h>
  11. #endif
  12.  
  13.  
  14. /**\
  15. |**| ==============================================================================
  16. |**| PUBLIC FUNCTION PROTOTYPES
  17. |**| ==============================================================================
  18. \**/
  19. OSErr            RegisterAppleEvents    ( void ) ;
  20. pascal OSErr    HandleOAPP            ( AppleEvent *theAppleEvent, AppleEvent *reply, long refCon ) ;
  21. pascal OSErr    HandleODOC            ( AppleEvent *theAppleEvent, AppleEvent *reply, long refCon ) ;
  22. #if PIGS_SHELL_PRINT
  23. pascal OSErr    HandlePDOC            ( AppleEvent *theAppleEvent, AppleEvent *reply, long refCon ) ;
  24. #endif
  25. pascal OSErr    HandleQUIT            ( AppleEvent *theAppleEvent, AppleEvent *reply, long refCon ) ;
  26. void            SendQUIT            ( void ) ;
  27. void            SendODOC            ( FSSpec *myFSSpec ) ;
  28. #if PIGS_SHELL_PRINT
  29. void            SendPDOC            ( FSSpec *myFSSpec ) ;
  30. #endif
  31.  
  32.  
  33. #endif
  34.